<div class="header">
    <back-Btn></back-Btn>
    项目结算
</div>
<div class="container finance task-review">
    <div class="list f_sk">
        <div user-info no="TaskReview.result.fileNo" depname="TaskReview.result.departmentName"
            date="TaskReview.result.applyDate" username="TaskReview.result.userName"></div>
        <div class="section">
            <div class="list-item flex">
                <div class="c9 w40">项目编号</div>
                <div class="w60">{{ TaskReview.result.projectNo }}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">项目名称</div>
                <div class="w60" relative-module="project_store" module-no="{{ TaskReview.result.projectNo }}">
                    {{ TaskReview.result.projectName }}
                </div>
            </div>
            <div class="list-item flex">
                <div class="c9 w40">供应商</div>
                <div class="w60" relative-module="Xm_SupplierStore" module-no="{{TaskReview.result.supplierNo}}"> {{TaskReview.result.supplierNo}}</div>
              </div>
            <div class="list-item flex">
                <div class="c9 w40">合同编号</div>
                <div class="w60">{{ TaskReview.result.contractNo }}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">合同名称</div>
                <div class="w60" relative-module="{{TaskReview.result.contractType}}"
                    module-no="{{ TaskReview.result.contractNo }}">
                    {{ TaskReview.result.contractName }}
                </div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.relatedModuleName">
                <div class="c9 w40">关联模块</div>
                <div class="w60">{{ TaskReview.result.relatedModuleName }}</div>
              </div>
              <div class="list-item flex" ng-show="TaskReview.result.moduleNo">
                <div class="c9 w40">模块编号</div>
                <div
                  class="w60"
                  relative-module="{{ TaskReview.result.relatedModule }}"
                  module-no="{{ TaskReview.result.moduleNo }}"
                >
                  {{ TaskReview.result.moduleNo }}
                </div>
              </div>        
            <div class="list-item flex">
                <div class="w40 c9">结算金额</div>
                <div class="w60">{{ TaskReview.result.totalAmount | NBFmt }}</div>
            </div>
            <div class="list-item flex">
                <div class="w40 c9">金额大写</div>
                <div class="w60">{{ TaskReview.result.amountInWorld }}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.address">
                <div class="w40 c9">工程地址</div>
                <div class="w60">{{ TaskReview.result.address }}</div>
            </div>
            <div class="list-item flex" ng-show="TaskReview.result.remark">
                <div class="w40 c9">备注</div>
                <div class="w60">{{ TaskReview.result.remark }}</div>
            </div>
            <!-- 自定义字段 -->
            <div checkuser-define field-map="TaskReview.result.customFields"></div>
            <div class="list table-list" ng-show="TaskReview.result.details&&TaskReview.result.details.length>0">
                <div class="info-title">结算明细</div>
                <div class="table-item" ng-repeat="item in TaskReview.result.details">
                    <div class="list-item">
                        <div class="item-label">名称</div>
                        <div class="flow-content">{{ item.name }}</div>
                    </div>
                    <div class="list-item" ng-show="item.type">
                        <div class="item-label">类型</div>
                        <div class="flow-content">{{ item.type }}</div>
                    </div>
                    <div class="list-item" ng-show="item.startTime">
                        <div class="item-label">开始日期</div>
                        <div class="flow-content">{{ item.startTime|dateFmt }}</div>
                    </div>
                    <div class="list-item" ng-show="item.endTime">
                        <div class="item-label">结束日期</div>
                        <div class="flow-content">{{ item.endTime|dateFmt }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">数量</div>
                        <div class="flow-content">{{ item.quantity }}</div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">单位</div>
                        <div class="flow-content">{{ item.unit }}</div>
                    </div>          
                    <div class="list-item">
                        <div class="item-label">单价</div>
                        <div class="flow-content">
                            {{ item.price|NBFmt }}
                        </div>
                    </div>
                    <div class="list-item">
                        <div class="item-label">总价</div>
                        <div class="flow-content">
                            {{ item.totalPrice|NBFmt }}
                        </div>
                    </div>
                    <div class="list-item" ng-show="item.remarks">
                        <div class="item-label">备注</div>
                        <div class="flow-content">{{ item.remarks }}</div>
                    </div>
                </div>
            </div>

            <!-- 附件 -->
            <div class="file-upload" file-list file-data="TaskReview.result.attachment"
                checked="true"></div>
        </div>
        <!-- 审查日志 -->
        <div log-list taskid="process_id"></div>
    </div>
</div>